package com.ssn.builder.computer;

public class Client {
    public static void main(String[] args) {
        Computer computer;
        Director director = new Director();
        director.setComputerBuilder(new MacBuilder());
        computer = director.build();
        System.out.println(computer);

        director.setComputerBuilder(new LenovoBuilder());
        computer = director.build();
        System.out.println(computer);
    }
}
